package com.cusconsumer.controller;

import com.pojo.Customer;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@CrossOrigin //(origins = {"http://localhost:8088/"})//跨域问题
@RestController
public class HelloController {

    @CrossOrigin
    @RequestMapping("/hello")
    public String hello(){return "helloaaa";}
}
